/**
 * @Copyright ®2015 Sinosoft Co. Ltd. All rights reserved.
 * 项目名称 : 三峡人寿业务前置平台系统
 * 创建日期 : 2016-12-08
 * 修改历史 :
 * 1. [2016-12-08]创建文件 by bianzb
 */
package com.sinosoft.sinopay.service.payrules.biz.service.impl;

import com.sinosoft.sinocloud.platform.common.exception.biz.SinoBizException;
import com.sinosoft.sinocloud.platform.common.exception.system.SinoSystemException;
import com.sinosoft.sinopay.payrules.dto.MerchantBankDTO;
import com.sinosoft.sinopay.service.payrules.biz.integration.dao.PayWayMapper;
import com.sinosoft.sinopay.service.payrules.biz.service.PayWayCoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 【支付方式业务服务接口实现类】
 *
 * @author bianzb
 * @version 1.0
 * @date 2016-12-08 17:39
 */
@Service
public class PayWayCoreServiceImpl implements PayWayCoreService {

    @Autowired
    PayWayMapper payWayMapper;

    @Override
    public List<MerchantBankDTO> getMerchantBankList(String merchantCode) throws SinoBizException, SinoSystemException {

        return payWayMapper.selectMerchantBankListByMerchantCode(merchantCode);
    }
}
